
        <HTML>
		<HEAD>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<meta name="description" content="Flash MX 2004 ActionScript2.0 Library: Intersect2DLine - Wright Internet Solutions">
		<meta name="keywords" content="geometry,Intersect2DLine,Flash,MX,2004,ActionScript,ActionScript2.0,AS2.0 Library,AS2,AS2 Library,Wright Internet Solutions,Wright,class,documentation,methods,functions,interfaces,JavaScript,Java">
		<TITLE>WIS AS2 Library : com.wis.math.geom.intersect2D.Intersect2DLine Documentation</TITLE>

		<STYLE><!--
		HR.small{height:1px; width:100%; background:#E7BFA3; border: 0px;}
		HR.big{height:4px; width:100%; background:#E7BFA3; border: 0px;}
		A:hover{text-decoration: underline}
		A{text-decoration: none; color: #993333}
		code{font-family: monospace; font-size: 12px; color: #666666;}
		.methodAttributesTitle{font-size: 12px; font-weight: bold; color: #7B779C}
		.ToC{font-size: 12px; font-weight: bold; color: #993333}
		.methodTitle{font-size: 14px; font-weight: bold; color: #993333}
		.groupTitle{font-size: 18px; font-weight: bold; color: #993333}
		.sectionTitle{font-size: 22px; font-weight: bold; color: #993333}
		.majorTitle{font-size: 32px; font-weight: bold; color: #993333; padding-bottom:100px;}
		.methodsDiv{margin-left:40px;}
		.footer{font-size: 11px; color: #666666;}
		body{font-family: arial,sans-serif; font-size: 12px;}
		//--></STYLE>

		</HEAD>
		<BODY bgColor='#ffffcc'>
		<P class='majorTitle'>com.wis.math.geom.intersect2D.Intersect2DLine   Documentation</P>


		<P><B>Author:</B> <a href='mailto:wisolutions2002@shaw.ca?subject=wisASLibrary Intersect2DLine Class'>Richard Wright</a><BR>
		<B>Last Modified:</B> 07/17/04 18:40:41<HR class='big'>

		<P class='sectionTitle'>Summary</P>
		<P class='ToC'>com.wis.math.geom.intersect2D.Intersect2DLine   class:</P>
		<div class='methodsDiv'><a href='#classinfo'>- description</a></div>
<P class='ToC'>com.wis.math.geom.intersect2D.Intersect2DLine   Properties:</P><div class='methodsDiv'>
<a href='#$status'>- $status</a><br>
<a href='#$points'>- $points</a><br>
</div><br>
<P class='ToC'>com.wis.math.geom.intersect2D.Intersect2DLine   Methods:</P><div class='methodsDiv'>
<a href='# init'>-  init</a><br>
<a href='# lineLine'>-  lineLine</a><br>
<a href='# linePolygon'>-  linePolygon</a><br>
<a href='# lineRectangle'>-  lineRectangle</a><br>
<a href='# polygonPolygon'>-  polygonPolygon</a><br>
<a href='# polygonRectangle'>-  polygonRectangle</a><br>
<a href='# rayRay'>-  rayRay</a><br>
<a href='# lineRay'>-  lineRay</a><br>
<a href='# rectangleRectangle'>-  rectangleRectangle</a><br>
</div><br>

		<HR class='big'>
		<P class='sectionTitle'><A name='classinfo'></A>com.wis.math.geom.intersect2D.Intersect2DLine   <I>class</I></P>
		<P> <span class='methodTitle'>version:</span> 1.6</P>
		<P class="methodTitle">description:</P>
		<P>Implements the behaviours of the Intersect2DLine Class. This
 class extends Intersect2D superclass.
 </P>
		<P class="methodTitle">usage:</P> <pre>var inst:Intersect2DLine = new Intersect2DLine(status);</pre>

<P> <span class='methodTitle'>parameters:</span>
				<ul>
<li>      status (String)  -- an identifier string.</li>
</ul>

			<HR class='small'>
			<P class='groupTitle'><A name='properties'></A>com.wis.math.geom.intersect2D.Intersect2DLine   Properties:</P>
			<div class='methodsDiv' >


				<P class='methodTitle'><A name='$status'></A><u> $status</u></P>
				<P> (String)  -- an identifier string.</P>

				<P class='methodTitle'><A name='$points'></A><u> $points</u></P>
				<P> (Array)  -- a holder for vertex Point objects.</P>
</div>

			<HR class='small'>
			<P class='groupTitle'><A name='methods'></A>com.wis.math.geom.intersect2D.Intersect2DLine   Methods:</P>
			<div class='methodsDiv' >


				<P class='methodTitle'><A name=' init'></A><u>  init</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Initializes a new class instance.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.init(status);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  status   (String)  -- an identifier string.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Void)
    </P>

				<P class='methodTitle'><A name=' lineLine'></A><u>  lineLine</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point, if any, between two line
     segment shapes.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.lineLine(a1,a2,b1,b2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  a1   (Point)  -- start segment 'a' Point object.</li>
<li>  a2   (Point)  -- end segment 'a' Point object.</li>
<li>  b1   (Point)  -- start segment 'b' Point object.</li>
<li>  b2   (Point)  -- end segment 'b' Point object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' linePolygon'></A><u>  linePolygon</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point(s), if any, between a line
     segment shape and a polygon shape.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.linePolygon(a1,a2,points);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  a1   (Point)  -- start segment Point object.</li>
<li>  a2   (Point)  -- end segment Point object.</li>
<li>  points   (Array)  -- a holder for polygon Point objects.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' lineRectangle'></A><u>  lineRectangle</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point(s), if any, between a line
     segment shape and a rectangle shape.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.lineRectangle(a1,a2,r1,r2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  a1   (Point)  -- start segment Point object.</li>
<li>  a2   (Point)  -- start segment Point object.</li>
<li>  r1   (Point)  -- start rectangle Point object.</li>
<li>  r2   (Point)  -- start rectangle Point object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' polygonPolygon'></A><u>  polygonPolygon</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point(s), if any, between two
     polygon shapes.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.polygonPolygon(points1,points2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  points1   (Array)  -- a holder for polygon 'a' Point objects.</li>
<li>  points2   (Array)  -- a holder for polygon 'b' Point objects.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' polygonRectangle'></A><u>  polygonRectangle</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point(s), if any, between a polygon
     shape and a rectangle shape.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.polygonRectangle(points,r1,r2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  points   (Array)  -- a holder for polygon 'a' Point objects.</li>
<li>  r1   (Point)  -- a rectangle Point object.</li>
<li>  r2   (Point)  -- a rectangle Point object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' rayRay'></A><u>  rayRay</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point, if any, between two infinite
     ray shapes.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.rayRay(a1,a2,b1,b2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  a1   (Point)  -- a ray 'a' Point object.</li>
<li>  a2   (Point)  -- a ray 'a' Point object.</li>
<li>  b1   (Point)  -- a ray 'b' Point object.</li>
<li>  b2   (Point)  -- a ray 'b' Point object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' lineRay'></A><u>  lineRay</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point, if any, between a line
     segment shape and an infinite ray shape.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.lineRay(a1,a2,b1,b2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  a1   (Point)  -- a segment Point object.</li>
<li>  a2   (Point)  -- a segment Point object.</li>
<li>  b1   (Point)  -- a ray Point object.</li>
<li>  b2   (Point)  -- a ray Point object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>

				<P class='methodTitle'><A name=' rectangleRectangle'></A><u>  rectangleRectangle</u></P>
				<P><span class='methodAttributesTitle'>description: </span>
				Calculates intersection point(s), if any, between two
     rectangle shapes.
     </P>
				<P><span class='methodAttributesTitle'>usage:</span> <pre>inst.rectangleRectangle(a1,a2,b1,b2);</pre>
     </P>
<P> <span class='methodAttributesTitle'>parameters:</span><ul>
<li>  a1   (Point)  -- a rectangle 'a' Point object.</li>
<li>  a2   (Point)  -- a rectangle 'a' Point object.</li>
<li>  b1   (Point)  -- a rectangle 'b' Point object.</li>
<li>  b2   (Point)  -- a rectangle 'b' Point object.</li>
</ul></P>
<P><span class='methodAttributesTitle'>returns:</span> (Intersect2D)  -- returns a new Intersect2D object.
    </P>
</div>

			<BR>
			<BR>
			<HR class='big'>
			<span class="footer">generated with <A href='http://blog.klaustrofobik.org/' target='_blank'>AS2docGenerator beta 0.5.3</A></span>
			</BODY>
			</HTML>

